package com.example.infrastructure.persistent.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 规则树
 * </p>
 *
 * @author 三石
 * @since 2024-07-24
 */
@Data
@TableName("rule_tree")
public class RuleTreePO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 规则树ID
     */
    @TableField("tree_id")
    private String treeId;

    /**
     * 规则树名称
     */
    @TableField("tree_name")
    private String treeName;

    /**
     * 规则树描述
     */
    @TableField("tree_desc")
    private String treeDesc;

    /**
     * 规则树根入口规则
     */
    @TableField("tree_root_rule_key")
    private String treeRootRuleKey;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private LocalDateTime updateTime;


}
